<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>六西格玛知识管理</title>
<link href="<?php echo $this->baseUrl ?>/public/style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jquery.js"></script>
</head>

<body>
<!--头部-->
<?php echo $this->partial('common/header.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>

<!--主体-->
<div class="main-box" id="mainBox">
    <div class="third-menu">
        <?php echo $this->partial('common/operation.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>
        <div class="menu-title"><span class="icon"></span>标签首页</div>
    </div>
  <div class="search">
  	<form method="get" action="<?php echo $this->baseUrl;?>/tag/list" name="search">
        <label>标签名称:</label>
        <input type="text" class="input" name="search_name" value="<?php echo !empty($_GET['search_name'])?$_GET['search_name']:'' ?>" />
        <input type="submit" class="submit input" value="搜 索" />
    </form>
  </div>    
    <div class="separate-line"></div>
</div>
<div class="mod-lss">
	<div class="main">
		<div class="left">
			<div class="box">
                <div class="box-title-modul">最新添加标签列表</div>
                <ul class="box-list">
                    <?php if ($this->top): ?>
                    <?php foreach ($this->top as $key => $val): ?>
                    <li class="box-item"><a href="<?php echo $this->baseUrl ?>/tag/detail?tag_id=<?php echo $val['tag_id']; ?>"><?php echo $val['name']; ?></a></li>
                    <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
		</div>
		<div class="right">
        	<div class="box">
				<div class="box-title-modul">标签模块统计</div>
				<ul class="box-list">
					<li class="box-item">系统中共有标签<?php echo $this->total; ?>个</li>
				</ul>
			</div>
            <div class="box">
				<div class="box-title-modul">标签模块数据</div>
                <ul class="box-list">
                	<?php foreach ($this->tags as $key => $val): ?>
                    	<span><a href="<?php echo $this->baseUrl ?>/tag/detail?tag_id=<?php echo $val['tag_id']; ?>"><?php echo $val['name']; ?></a></span>
                    <?php endforeach; ?>
                </ul>
			</div>
		</div>
	</div>
</div>









<!--底部-->
<?php echo $this->partial('common/footer.html') ?>
</body>
</html>